package com.ranjiaqi.file;

import java.io.File;

/**
 * @ClassName getParentFile
 * @Description TODO
 * @Author hp
 * @Date 2021/7/1 9:42
 * @Version 1.0
 **/
public class GetParentFile {
    public static void main(String[] args) {
        File file = new File("F:/java/day_01");
        File parentFile = file.getParentFile();
        System.out.println("parentFile = " + parentFile);
    }
}
